package com.hibase.core.rule.service.ruletable;

import com.github.pagehelper.PageInfo;
import com.hibase.core.mybatis.service.BaseService;
import com.hibase.core.rule.entity.ruletable.RuleTableField;
import com.hibase.core.rule.entity.ruletable.vo.RuleTableFieldSearchVO;

import java.util.List;

/**
 * <p>
 * 动态规则字段表 服务类
 * </p>
 *
 * @author hufeng
 * @since 2019-06-10
 */
public interface RuleTableFieldService extends BaseService<RuleTableField> {

    /**
     * 查询动态规则字段表列表
     *
     * @param searchVO
     * @return
     */
    PageInfo<RuleTableField> selectRuleTableFieldList(RuleTableFieldSearchVO searchVO);

    /**
     * 改变动态规则字段表记录
     *
     * @param entity
     * @return
     */
    void saveRuleTableField(RuleTableField entity);

    /**
     * 查询动态规则字段表详情
     *
     * @param id
     * @return
     */
    RuleTableField viewRuleTableField(String id);

    /**
     * 删除动态规则字段表
     *
     * @param ids
     */
    void deleteRuleTableField(List<String> ids);


    void fieldSort(String id, String type);
}
